<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>对话框测试页面</title>
  <link rel="stylesheet" href="./dlg-goto.css">
</head>
<body>
<input type="button" value="弹出对话框" id='popup'/>

<script src="//apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="./dlg-goto.js"></script>
<script>
  $(function(){
      var $btnDlg = $('#popup');
      
      $btnDlg.click(function(){
    
        $dlgGoto.show({
          delay:5,
          title:'发送短信验证码',
          onclick:function(){
            console.log('clicked');
          }
        });
      })
  })
</script>
</body>
</html>
